<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>Window Events Test</title>
    <style>
        body {
            font-family: system-ui, -apple-system, sans-serif;
            padding: 20px;
        }
        #status {
            margin-top: 20px;
            padding: 15px;
            background: #f0f0f0;
            border-radius: 8px;
        }
    </style>
</head>
<body>
    <h2>Window Event Test</h2>
    <p><strong>Try moving this window by dragging the title bar</strong></p>
    <p><strong>Try resizing this window by dragging edges/corners</strong></p>
    <div id="status">
        Events detected:<br>
        <div id="events"></div>
    </div>
    <p style="margin-top: 20px; color: #666;">Close this window manually to complete the test</p>
</body>
</html>